package com.supreme.commonmybatis.annotation;

import java.lang.annotation.*;

@Target(value = {ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RangeQuery {

    String RangeQueryKey = "isRangeQuery";

    boolean queryEnable() default true;

    String queryKey() default "id";

    String rangeQueryKey() default RangeQueryKey;

    String queryType() default "=";

    int queryVal() default 0;

    String queryValues() default "";
}
